package cn.wolfcode._IOday01_.text005;

public class Student extends Person implements ISwimmable{
    public Student(String name, int age) {
        super(name, age);
    }

    @Override
    public void speak() {
        System.out.println("大家好");
    }

    @Override
    public void swim() {
        System.out.println("游啊游");
    }
    public void study(){
        System.out.println("好好学习,天天向上");
    }
}
